package com.liqi.frame.comm.controller.index;

import com.liqi.frame.comm.aop.FullPage;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by liqi on 2017/11/22.
 * liqiwork@qq.com
 */
@Controller
@RequestMapping("/index")
public class IndexController {
    @FullPage(menu = "indexPage")
    @RequestMapping({"indexPage","nav/indexPage"})
    public ModelAndView indexPage(HttpServletRequest req, HttpServletResponse resp) {
        return new ModelAndView("comm/index/indexPage");
    }
}
